/*
 * 文件名：LTEHeader.java
 * 版权：亚信科技(南京)版权所有
 * 描述：TODO
 * 修改人：napo
 * 修改时间：2015-12-14
 * 修改内容：TODO
 */
package com.ailk.bigdata.etl.realstream.server.model;

/**
 * @description TODO
 * @author [napo]
 * @version [版本号,2015-12-14]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public final class LTEPublic
{
	private int length;
	private String city;
	private int inter;
	private String xdrId;
	private int rat;
	private String imsi;
	private String imei;
	private String msisdn;

	public int getLength()
	{
		return length;
	}

	public void setLength(int length)
	{
		this.length = length;
	}

	public String getCity()
	{
		return city;
	}

	public void setCity(String city)
	{
		this.city = city;
	}

	public int getInter()
	{
		return inter;
	}

	public void setInter(int inter)
	{
		this.inter = inter;
	}

	public String getXdrId()
	{
		return xdrId;
	}

	public void setXdrId(String xdrId)
	{
		this.xdrId = xdrId;
	}

	public int getRat()
	{
		return rat;
	}

	public void setRat(int rat)
	{
		this.rat = rat;
	}

	public String getImsi()
	{
		return imsi;
	}

	public void setImsi(String imsi)
	{
		this.imsi = imsi;
	}

	public String getImei()
	{
		return imei;
	}

	public void setImei(String imei)
	{
		this.imei = imei;
	}

	public String getMsisdn()
	{
		return msisdn;
	}

	public void setMsisdn(String msisdn)
	{
		this.msisdn = msisdn;
	}

	public String toString(String separator)
	{
		StringBuilder sbuilder = new StringBuilder();
		sbuilder.append(length).append(separator).append(city).append(separator);
		sbuilder.append(inter).append(separator).append(xdrId).append(separator);
		sbuilder.append(rat).append(separator).append(imsi).append(separator);
		sbuilder.append(imei).append(separator).append(msisdn).append(separator);
		return sbuilder.toString();
	}

	@Override
	public String toString()
	{
		return "length[" + length + "]city[" + city + "]inter[" + inter + "]xdrId[" + xdrId + "]rat[" + rat + "]imsi[" + imsi + "]imei[" + imei
				+ "]msisdn[" + msisdn + "]";
		// return "length[" + length + "]inter[" + inter + "]xdrId[" + xdrId +
		// "]rat[" + rat + "]";
	}

}
